cd ..
HASH=$(git rev-parse --short HEAD)
BRANCH=$(git branch --show-current)
VERSION="$(node -e "console.log(require('./package.json').version)")-$BRANCH-$HASH-$(date +'%Y%m%d%H%M%S')"
npm run build \
	&& npm version $VERSION \
	&& npm publish --tag $BRANCH \
	&& VERSION=$BRANCH bash -x ./docker/build-image.sh \
	&& git checkout .
